<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!doctype html>
<html lang="zh-cn">
<head>
	<meta charset="UTF-8">
	 <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" /> 
	<title>YY-MAN</title>
	<link rel = "Shortcut Icon" href="images/yydou.ico">
	<link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/controls.css">
    <link rel="stylesheet" href="css/style.css">
	 <script src="js/jquery.min.js"></script>
	 <script>
	 
	 	//如果当前页的url地址，与浏览器的url地址不符合。
	 	if(self.location.href!=top.location.href){
	 		
	 		top.location.href="${pageContext.request.contextPath}/login.jsp";
	 	}
	 </script>
</head>
<body>
	<jsp:include page="header.jsp" />
	<!-- banner -->
	<div class="banner">
			<a href="#"><img style="display:block;width:100%" src="images/banner/banner1.jpg" alt=""></a>
	</div>
	<!-- banner end-->
	<!-- content -->
	<div class="content bg-f2f2f2">
		<div class="container">
			<!-- section1 -->
			<div class="section section1 clear t-p40 ">
				<!-- content_main -->
				<div class="bg-white">
					<div class="title">
						<h2>登录</h2>
					</div>
					<style type="text/css">
							.section_body { padding-right: 100px; background: url('./images/login_bg.jpg') no-repeat left center;}
							.section_body form { *width: 340px;  padding-top: 60px; padding-bottom: 20px;}
							.section_body form p>input { width: 280px;  line-height: 26px; height: 26px; padding-left: 10px; }
							.section_body form p { line-height: 28px; padding-bottom: 20px;}
							.section_body label { color: #666666;}
							.section_body label input { margin-right: 10px;} 
							.section_body form p>a { margin-left: 10px; color: #666666;}
							.section_body form p>a:hover { color: red;}
							.section_body .btn { color: #333333; padding: 0; width: 78px; border: 1px solid #cccccc; background: #f1eeee;}
					</style>
					<div class="section_body"> 
						
						<form  class="right" method="post" action="${pageContext.request.contextPath}/cityController">
							<font color=red>${tip}</font>
							<input type="hidden" name="_method" value="login" />
							<p class="f14 c-666666" >账号：<input  type="text"   name="username" placeholder="请输入账号"></p>
							<p class="f14 c-666666" >密码：<input  type="password" name="pwd" placeholder="请输入密码"></p>
							<p class="clear">
								<label style="margin-left: 40px" class="left" for="">
								<input class="text-middle" type="checkbox">自动登录</label>
								<a class="right" href="#">[注册新账号]</a>
								<a class="right" href="#">[忘记密码] </a>
							</p>
							<p class="text-center"><input class="btn" type="submit" value="确定"></p>
						</form>
					</div>
				</div>
				<!-- content_main -->
				<!-- content_sidebar -->
				<!-- content_sidebar end-->
			</div>
			<!-- section1 end-->
			<!-- section2 -->
			<!-- section2 end-->
			
		</div>
	</div>
	<!-- content end-->
	<!-- footer-->
	<div class="footer">
		<div class="footer_body">
			<span class="rightcopy"> Copyright ©360.cn. All Rights Reserved. 京ICP证080047号 京公网安备110000000006号</span>
		</div>
	</div>
	<!-- footer end-->
</body>
  <!--[if IE 6]>
    <script src="js/DD_belatedPNG_0.0.8a.js"></script>
    <script>
    DD_belatedPNG.fix('*');
    </script>
    <![endif]-->
</html>